package indi.kider.server.schedule.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import pers.vankid.common.model.base.CommonResponse;

@FeignClient(value = "balance-bill")
@RestController
@RequestMapping(value = "produce")
public interface ProduceBillSerivce {

    /**
     * 每天入住的房租账单
     * @return
     */
    @PostMapping("/produceRentBill")
    CommonResponse produceRentBill();

    /**
     * 执行时间的当月的后付费项目的账单。
     * @return
     */
    @PostMapping("/produceThisMonthBill")
    CommonResponse produceThisMonthBill();

    /**
     * 每天租住的用户信息
     * @return
     */
    @PostMapping("/extractRentInfo")
    CommonResponse extractRentInfo();

    /**
     * 每天租住的预付费用户账单
     * @return
     */
    @PostMapping("/produceEveryDayBill")
    CommonResponse produceEveryDayBill();

    /**
     * 每天租住的预付费用户账单进行扣款
     * @return
     */
    @PostMapping("/settlementBillEveryDay")
    CommonResponse settlementBillEveryDay();

    /**
     * 每天租住的预付费用户账单进行扣款
     * @return
     */
    @PostMapping("/regitWallet")
    CommonResponse regitWallet();
}
